﻿package com.bizmlib.managers
{
	import flash.events.Event;
	
	
	public class PopupManagerEvent extends Event
	{
		public static const POPUP_ENABLED:String = "popupEnabled";
		public static const POPUP_DISABLED:String = "popupDisabled";
		public static const POPUP_CREATED:String = "popupCreated";
		public static const POPUP_REMOVED:String = "popupRemoved";
		
		
		public var data:*;
		
		
		public function PopupManagerEvent(type:String, data:* = null)
		{
			super(type, false, true);
			
			this.data = data;
		}
		
		
		override public function toString():String
		{
			return formatToString("PopupManagerEvent", "type", "data");
		}
	}
}